var str = "23"
console.log(str.padStart(2, '0'))

var str2 = 231
console.log(str2.toString().padEnd(4, "妮妮"))